<%-- 
    Document   : Registrado
    Created on : 13/09/2011, 03:44:52 AM
    Author     : Usuario
--%>


<%@page import="Manejadores.ControlCurso"%>
<%@page import="Gestion.Curso"%>
<%@page import="Manejadores.ControlAsignatura"%>
<%@page import="Gestion.Asignatura"%>
<%@page import="Manejadores.ControlEstudiante"%>
<%@page import="personas.Estudiante"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.List"%>
<%@page import="personas.Persona"%>
<%@page import="Manejadores.ControladorPersona"%>
<%@page import="Manejadores.ControlDocumento"%>
<%@page import="Manejadores.ControlDocumentoAcudiente"%>
<%@page import="Gestion.Documento"%>
<%@page import="Gestion.DocumentoAcudiente"%>
<%@page errorPage = "ErrorPage.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link rel="stylesheet" href="css/style_prin.css" type="text/css" />
         <link rel="shortcut icon" href="Imagenes/icono.png.png">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link rel="stylesheet" href="css/style_paginterna.css">
        <title></title>
        
    </head>
    <body>
        <%
        int codest=Integer.parseInt(request.getParameter("codest"));
        Estudiante est=ControlEstudiante.consultarEstudiante(codest);
        List<Curso> curso=ControlCurso.listarEstudiantecurso(codest);
        Iterator it=curso.iterator();
                 while(it.hasNext()){
                Curso curso1 =(Curso)it.next();


        %>

        Estudiante:<input  type = "text" name = "codest" value = "<%=est.getNombres()%>" disabled="disabled" />
        Cod Estudiante:<input  type = "text" name = "codest" value = "<%=est.getCodigo()%>" disabled="disabled" />
        curso:<input  type = "text" name = "codest" value = "<%=curso1.getNombre()%>-<%=curso1.getBloque()%>-<%=curso1.getJornada()%>" disabled="disabled" />
        <%
         int codcurso=curso1.getCodCurso();

         %>
  
       <table border="1" width="630" height="400">
    <thead>

        <tr>
            <th>ASIGNATURA</th>
            <th>H/S</th>
            <th>Ins</th>
            <th>Nota</th>
            <th>Desempeño</th>
        </tr>
    </thead>
    <tbody>
        <%


 List <Asignatura> asignaturas = ControlAsignatura.listarAsignatura(codcurso);
 it=asignaturas.iterator();
                 while(it.hasNext()){
                 Asignatura asignat =(Asignatura)it.next();


%>

        <tr bgcolor="#65d4ed">
            <td><%=asignat.getNombre()%></td>
            <td>4</td>
            <td><%=asignat.getIntHorario()%></td>
            <td>3.5</td>
            <td>bajo</td>

        </tr>
       <%}
       %>
       <%}
  %>
    </tbody>
</table>

        
    </body>

</html>
